package com.stlm2.dems.entity.base;

import java.util.Date;

/**
 * Created by apple on 2017/5/28.
 */
public class BaseAddress {
    private  Integer id ;
    private  Integer userId;
    private  String city;//城市
    private  String location;//经纬度
    private  String detail;//详细地址
    private  Boolean ifDefault;//是否默认地址
    private  String name;//收货人姓名
    private  String phone;//收货人电话
    private  Date createTime;//创建时间


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Boolean getIfDefault() {
        return ifDefault;
    }

    public void setIfDefault(Boolean ifDefault) {
        this.ifDefault = ifDefault;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
